<?php
$this->breadcrumbs=array(
	'Pelanggan'=>array('index'),
	$model->Username=>array('view','id'=>$model->Username),
	'Perbarui',
);

$this->menu=array(
	array('label'=>'Daftar Pelanggan', 'url'=>array('index'), 'visible' => Yii::app()->user->isAdmin()),
	array('label'=>'Registrasi Pelanggan', 'url'=>array('create'), 'visible' => Yii::app()->user->isAdmin()),
	array('label'=>'Buka Pelanggan', 'url'=>array('view', 'id'=>$model->Username)),
	array('label'=>'Mengelola Pelanggan', 'url'=>array('admin'), 'visible' => Yii::app()->user->isAdmin()),
);
?>

<h1>Perbarui Pelanggan <?php echo $model->Username; ?></h1>

<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>